{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "20aed8c5",
   "metadata": {},
   "source": [
    "## pandas可视化"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "ce661b21",
   "metadata": {},
   "source": [
    "### 使用pandas绘图时, 默认索引就是X轴坐标，各个值为Y坐标\n",
    "'''\n",
    "s1.plot(kind=\"图类型\")\n",
    "'''"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "e10bb1a8",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "22c1951f",
   "metadata": {},
   "outputs": [],
   "source": [
    "s1 = pd.Series([30, 40, 20, 15, 18, 39], name=\"Apple\")\n",
    "s2 = pd.Series([51, 42, 33, 24, 15, 66], name=\"Banana\")\n",
    "df = pd.DataFrame({\"Apple\": s1, \"Banana\":s2})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "04a3dfc9",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:xlabel='Apple', ylabel='Banana'>"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEGCAYAAABiq/5QAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAUIElEQVR4nO3df2zc933f8ef7LIYiQremKUUzxLhyp6CBk9L0wnn2lBWujXZum8heabjN2kJNDbgDuiLtmklJ0GJtugINgTYNGiCbFrcVOi+xayaTkaxuDcVJVhRxKtcS4x9pnPjHTMG2FI6KRZdiqNy7f9xXCUlR0snml2fe5/kAiLvv577He3/8tV734ee+389FZiJJKkej0wVIktaWwS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VKr5YjfqnlVuDPM/MHMnNbZr4ReBr4N7TWgr+imtv/GVof/kLr38/ps3f+/aL20/4B2BwR10Fr6ici3lJ3R6TzMfillncBn17WNlG1/x3wUVpLIT+9aL+Xab0pPErrr4UPLn5yZn6b1hvDhyLiMK3VJP91TfVLbXN1TukcFi+Pu8Jjs5nZv+ZFSa+SI35JKowjfkkqjCN+SSqMwS9JhTH4JakwBr8kFcbgl6TC/BO3RN50R8nKbAAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "df.plot.scatter(x=\"Apple\", y=\"Banana\", )"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "e69e8e76",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:ylabel='Frequency'>"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAD4CAYAAAD2FnFTAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAVUklEQVR4nO3dfbRddX3n8ffHEETUCphIWXkg0cmq0gKBXsEOdgmOYHwiuvqUjHaoS5tOB2Z02ukUnC5wcLULx1VRKxVSzaC2go/YdIzFKCidcZDcYMpDkCGNKImMSQkVFRaZwHf+ODvlcNn35uRyd05y7/u11lnZ+/fbv3O+e+2s+zn74eydqkKSpLGeMewCJEkHJwNCktTKgJAktTIgJEmtDAhJUqvDhl3AVJozZ04tWrRo2GVI0iFj48aN/1hVc9v6plVALFq0iNHR0WGXIUmHjCTfG6/PQ0ySpFYGhCSplQEhSWplQEiSWhkQkqRWBoQkqVVnAZFkQZIbk2xOcmeSd7QskyQfS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sPxOcZEI2q+mHzH+1x4C+YZnePTTKb3h/Kv6qqLzTNP0xyXNN/HL1vYNNG2zpP9+28V1X9E3Aj8EvAUc2tbGAa37amb52XNYcYq6oeBf4702c7nwGcm+ReenfIfiXwQTraxgZEY+8fysabgDvGW/ZQ0xyj/BhwV1W9v6+r/1Yn5wF/faBr68p46zzNt/PcJEc1088CzqZ37uVGereygem3ndvW+Tt9X3xC73j8tNjOVXVRVc2vqkX07jxxQ1W9mY628Yz8JXWSa4Az6d0W+IfAJc38UnqHWe4Ffqfv+PwhLcnLgb8DbueJ45bvondM/jPAQuB7wK9X1bQ4eT/BOq9k+m7nk+idoJxF78vfZ6rq0iQvpPdt8xjg28Bbmm/Wh7wJ1vkGYC4QYBPwb/tOZk8LSc4E/lNVvb6rbTwjA0KStG8eYpIktTIgJEmtDAhJUisDQpLUyoCQJLUyICRJrQwISVKr/w+JI/3C19f1mwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "s1.plot.hist()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "50fa7f3a",
   "metadata": {},
   "source": [
    "### 直方图和箱线图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "id": "96751b8c",
   "metadata": {},
   "outputs": [],
   "source": [
    "np.random.seed(123)\n",
    "arr1 = np.random.normal(80, 4, 100)\n",
    "s1 = pd.Series(arr1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "a0099ba2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "count    100.000000\n",
       "mean      80.108436\n",
       "std        4.535697\n",
       "min       68.805644\n",
       "25%       76.669018\n",
       "50%       79.786921\n",
       "75%       83.933553\n",
       "max       89.569461\n",
       "dtype: float64"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "s1.describe()  #描述性统计分析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "id": "9565cb33",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:ylabel='Frequency'>"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAD4CAYAAADrRI2NAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAQy0lEQVR4nO3de5BkZX3G8e8DaGCJEXBHVGBctBQlXnG8RMobmATFiBqjUJJCoq73iJroYiwhf5jCBEVzU1dF8AYiEjWiBjQqscqAC6IC6y2y4AKySzAiiiyXX/7o3mQcZ3Z7Zvf0mdn3+6mamnPePt3vr97qffbM26ffk6pCktSOnfouQJI0Xga/JDXG4Jekxhj8ktQYg1+SGrNL3wWMYvny5bVixYq+y5CkJeXiiy++oaomZrYvieBfsWIFa9as6bsMSVpSklw1W7tTPZLUGINfkhpj8EtSYwx+SWqMwS9JjTH4JakxBr8kNcbgl6TGGPyS1Jgl8c1dLQ0rVp3bW9/rTjq8t76lpcYzfklqjMEvSY0x+CWpMQa/JDXG4Jekxhj8ktQYg1+SGmPwS1JjOgv+JKcm2ZDkshntr07y3SSXJ/nbrvqXJM2uyzP+04DDpjckeQpwBPDwqvpd4OQO+5ckzaKz4K+qC4AbZzS/HDipqm4dHrOhq/4lSbMb91o9DwSekOStwK+Av6iqb8x2YJKVwEqAycnJ8VWoJamvdYJaXCPINZmWvnF/uLsLsBfwOOAvgbOSZLYDq2p1VU1V1dTExMQ4a5SkHdq4g389cE4NXATcCSwfcw2S1LRxB/+ngKcAJHkgcFfghjHXIElN62yOP8kZwJOB5UnWAycApwKnDi/x3AQcU1XVVQ2SpN/UWfBX1VFzPHR0V31KkrbOb+5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DLgOuAQYHOg+V76zTG6tud6FpsHAxdW1S+r6nbgq8Bz2IZMMvi37EjgjOH23lV13XD7J8De/ZS06EwfI4BXJfl2klNbng4DqKprgJOBqxkE/s+Ai4H/Gf4DhsGSJfv0U2H/Zhujqjpv+PBbh++lU5L8Vm9F9u8y4AlJ7pFkGYO/GPdjGzLJ4J/DcN71mcAnZj5Wg/mx5ufIZhmjdwP3Bx7B4B/x2/upbHEY/sd3BLA/cB9gd+CwXotaZGYboyRHA8cDDwIeDewFNDutWlVrgbcB5zGY5rkUuGPGMfPKJIN/bk8DLqmq64f71ye5N8Dw94beKls8fm2Mqur6qrqjqu4E3sdgTrJlTwWurKqNVXUbcA5wMLDHcFoDXLJktjF6fFVdVwO3Ah+k8fdSVX2gqh5VVU8Efgp8n23IJIN/bkfx61MYnwGOGW4fA3x67BUtPr82RpvfhEPPZvAnasuuBh6XZFmSMPg85Argy8Bzh8e0/l6abYzWTgu0MJi7bvq9lOSew9+TDOb3P8Y2ZJJX9cwiye4M3pD3q6qfDdvuAZwFTAJXAc+rqhv7q7Jfc4zRhxlM8xSwDnjptDnIJiX5a+D5wO3AN4EXM5jTP5PBFMY3gaOHZ7ZNmmOMPg9MAGEwtfGyqrq5rxr7luQ/gHsAtwGvq6ovbUsmGfyS1BineiSpMQa/JDXG4Jekxhj8ktQYg1+SGmPwS1JjDH5Jasz/ApcVe96kCFlPAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "s1.plot.hist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "d11348df",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:>"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAD4CAYAAAD1jb0+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JHkIuHr4WJK0TqZGOaiqvgVsW7b2NRbflSJJ2gB+ElOSmjLgktSUAZekpgy4JDVlwCWpKQMuSU2N9DZCqZuZuSPrcs6J+b1rPkcaFwOuTcmw6nzgFookNWXAJakpAy5JTRlwSWrKgEtSUwZckpoy4JLUlAGXpKay+PeI1+liyQA4uW4XlEa3HfjqRg8hPYMfq6qn/VHhdQ249GyVZKGqZjd6Dmkt3EKRpKYMuCQ1ZcClRYc2egBprdwDl6SmfAUuSU0ZcElqyoBrU0pSSW5Z8vi3k/z+Bo4kjZ0B12b1BPCmJNs3ehBpUgy4NqunWHxnyU3Ln0gyk+Sfk9yf5GiSFw/XP5Tk/Uk+k+RLSd685Jx3J/m34TnvXb9/hvTMDLg2sz8F3prkkmXrfwIcrqqfAv4GeP+S53YCPw+8HpgHSHItcAWwG9gFXJXkNZMdXVqdAdemVVXfBP4KuHHZUz8DfHh4/69ZDPb3/H1Vfbeq/gPYMVy7dvj1WeAY8HIWgy5tKP8qvTa7P2Yxuh8c8fgnltzPkts/rKo/H+Nc0jnzFbg2tar6H+B24IYly58B9g3vvxX49Crf5p+AX0nywwBJLkvywnHPKq2VAdf54BYWf13s9/wm8PYk9wNvA975/51cVXezuOXyr0k+B9wBXDyhWaWR+VF6SWrKV+CS1JQBl6SmDLgkNWXAJakpAy5JTRlwSWrKgEtSU/8H9Wku+/ToktgAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "s1.plot.box()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "8969004f",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "count    100.000000\n",
       "mean      80.108436\n",
       "std        4.535697\n",
       "min       68.805644\n",
       "25%       76.669018\n",
       "50%       79.786921\n",
       "75%       83.933553\n",
       "max       89.569461\n",
       "dtype: float64"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "s1.describe()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "id": "15a2c1dc",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0     75.657478\n",
       "1     83.989382\n",
       "2     81.131914\n",
       "3     73.974821\n",
       "4     77.685599\n",
       "        ...    \n",
       "95    84.124458\n",
       "96    75.661728\n",
       "97    74.546114\n",
       "98    81.517602\n",
       "99    78.483294\n",
       "Length: 100, dtype: float64"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "s1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "94a4a7af",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
